//
//  PhotoItem.h
//  iFlick1.4
//
//  Created by vhly on 10-8-27.
//  Copyright 2010 xhzhang. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface PhotoItem : NSObject {
	NSString *title;
	NSString *description;
	NSMutableArray *tags;
	
	/**
	 * Upload status
	 */
	NSInteger status;
	
	/**
	 * Visible for photo
	 */
	NSInteger vis;
	
	/**
	 * 图像上传之后获取的图像ID
	 *
	 */
	NSString *photoID;
	
	/**
	 * 原始图片，如果程序已经设置采用 320x480 的方式，那么这个就是缩小之后的
	 */
	UIImage *origImage;
	
	/**
	 * 预览图像，这个是在表格中显示的图像
	 */
	UIImage *thumbImage;
}

@property (nonatomic, retain) NSString *title;
@property (nonatomic, retain) NSString *description;
@property (nonatomic) NSInteger status;
@property (nonatomic) NSInteger vis;
@property (nonatomic, retain) NSString *photoID;
@property (nonatomic, retain) UIImage *origImage;
@property (nonatomic, retain) UIImage *thumbImage;


@end
